// apiFactory.js

// Import other provider classes
import { OpenAIApi } from "./openaiApi.js";

export function createApiProvider(
  apiUrl,
  apiKey,
  apiVersion,
  provider,
  questionText
) {
  return new OpenAIApi(apiUrl, apiKey, apiVersion, questionText);
}
